﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Castle.Core.Internal;
using Coldairarrow.Util;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 集团库存
    /// </summary>
    /// 

    public class Rep_OrgInventory
    {
        public string RowId { get; set; }
        /// <summary>
        /// ID
        /// </summary>
        public string ID { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string PrdCode { get; set; }
        /// <summary>
        /// WMS FNSKU
        /// </summary>
        public string FNSKU { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string PrdName { get; set; }
        /// <summary>
        /// 品类
        /// </summary>
        public string Category { get; set; }

        /// <summary>
        /// 保管组织
        /// </summary>
        public string StorageOrg { get; set; }
        /// <summary>
        /// 货权组织
        /// </summary>
        public string CargoOrg { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string Warehouse { get; set; }
        /// <summary>
        /// 仓库区域
        /// </summary>
        public string Area { get; set; }
        /// <summary>
        /// 仓库类型
        /// </summary>
        public string WarehouseType { get; set; }
        /// <summary>
        /// 在途数量
        /// </summary>
        public decimal InTransitQty { get; set; }
        /// <summary>
        /// 在库数量
        /// </summary>
        public decimal InInvQty { get; set; }
        /// <summary>
        /// 锁定数量
        /// </summary>
        public decimal LockQty { get; set; }
        /// <summary>
        /// 近30天入库
        /// </summary>
        public decimal Past30IntStock { get; set; }
        /// <summary>
        /// 近30天出库
        /// </summary>
        public decimal Past30OuttStock { get; set; }
        /// <summary>
        /// 在库成本
        /// </summary>
        public decimal Cost { get; set; }
        /// <summary>
        /// 高库龄
        /// </summary>
        public decimal HighAge { get; set; }
        /// <summary>
        /// 0-30天库龄
        /// </summary>
        public decimal Age0_30 { get; set; }
        /// <summary>
        /// 0-90天库龄
        /// </summary>
        public decimal Age0_90 { get; set; }
        /// <summary>
        /// 31-60天库龄
        /// </summary>
        public decimal Age31_60 { get; set; }
        /// <summary>
        /// 61-90天库龄
        /// </summary>
        public decimal Age61_90 { get; set; }
        /// <summary>
        /// 91-180库龄
        /// </summary>
        public decimal Age91_180 { get; set; }
        /// <summary>
        /// 大于181库龄
        /// </summary>
        public decimal Age_GreateThan181 { get; set; }

        /// <summary>
        /// 可销数量
        /// </summary>
        public decimal SaleQty { get; set; }

        /// <summary>
        /// 不良数量
        /// </summary>
        public decimal BadQty { get; set; }

        /// <summary>
        /// 待出数量
        /// </summary>
        public decimal ReadyOutQty { get; set; }

        /// <summary>
        /// 调仓数量
        /// </summary>
        public decimal RebalanceQty { get; set; }
        /// <summary>
        /// 入库中数量
        /// </summary>
        public decimal InStorageQty { get; set; }




        /// <summary>
        /// 181_270库龄
        /// </summary>
        public decimal Age181_270 { get; set; }
        /// <summary>
        /// 271_365库龄
        /// </summary>
        public decimal Age271_365 { get; set; }
        /// <summary>
        /// 大于365库龄
        /// </summary>
        public decimal Age_GreateThan365 { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public decimal CreatedDate { get; set; }

    }

}
